package com.yuneec.droneservice.model;

/**
 * Created by gjw on 2017/3/27.
 */

public class ControllerBattery {
    private int capacity; //百分比0~100
    private float temperature; //摄氏度
    private boolean isCharge;

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public float getTemperature() {
        return temperature;
    }

    public void setTemperature(float temperature) {
        this.temperature = temperature;
    }

    public boolean isCharge() {
        return isCharge;
    }

    public void setCharge(boolean charge) {
        isCharge = charge;
    }

    @Override
    public String toString() {
        return "ControllerBattery{" +
                "capacity=" + capacity +
                ", temperature=" + temperature +
                ", isCharge=" + isCharge +
                '}';
    }
}
